AppCompatSpinner
Construct a new spinner with the given context's theme.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
Construct a new spinner with the given context's theme and the supplied mode of displaying choices. mode
may be one of MODE_DIALOG or MODE_DROPDOWN.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
Constant describing how the user will select choices from the spinner.
See also
Construct a new spinner with the given context's theme and the supplied attribute set.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
The attributes of the XML tag that is inflating the view.
Construct a new spinner with the given context's theme, the supplied attribute set, and default style attribute.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
The attributes of the XML tag that is inflating the view.
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Construct a new spinner with the given context's theme, the supplied attribute set, and default style. mode
may be one of MODE_DIALOG or MODE_DROPDOWN and determines how the user will select choices from the spinner.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
The attributes of the XML tag that is inflating the view.
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Constant describing how the user will select choices from the spinner.
See also
Constructs a new spinner with the given context's theme, the supplied attribute set, default styles, popup mode (one of MODE_DIALOG or MODE_DROPDOWN), and the context against which the popup should be inflated.
Parameters
The context against which the view is inflated, which provides access to the current theme, resources, etc.
The attributes of the XML tag that is inflating the view.
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Constant describing how the user will select choices from the spinner.
The theme against which the dialog or dropdown popup should be inflated. May be null
to use the view theme. If set, this will override any value specified by Spinner_popupTheme.